package cn.apptec.test.java.entity;

import org.springframework.context.annotation.*;
import org.springframework.core.type.AnnotatedTypeMetadata;

/**
 * Created by apptec on 2017/7/24.
 *
 * @Author: liuyangsheng
 * @Description:
 * @Modified By:
 */
@Configuration
public class MagicConfig {

    @Bean
    @Conditional(MyConfig.class)
    public Person magicBean() {
        return new Person("magicPerson");
    }

}
